package com.sike.mapper;

import com.sike.entity.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author vito
 * @version 1.0
 */
@Mapper
public interface OrderItemMapper {
    void insertOrderItem(OrderItem orderItem);
    List<OrderItem> findOrderItemsByOrderId(@Param("orderId") Integer orderId);
}
